package org.cttic.visualization.visualization.common;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;


@Data
@NoArgsConstructor
@AllArgsConstructor
public class TravelTransRequest implements Serializable {

    private static final long serialVersionUID = 1L;

    private String provinceId;

    private String vehPlate;

    private String dataType;

    private String dataTypeKey;

    private String direction;

    @NotNull(message = "queryType不能为空")
    private String queryType;

    private String queryValue1;

    private String queryValue2;

    @Positive(message = "页码需为正数")
    private Integer pageNo = 1;

    @Positive(message = "条数需为正数")
    private Integer pageSize = 10;

}
